package com.example.mysql.jpa.domain;

import lombok.Data;

import javax.persistence.*;

@Table(name = "test_version")
@Entity
@Data
public class TestVersionBean
{
    @Id
    @Column(name = "id")
    private Integer id;

    @Column(name = "a")
    private String a;

    @Version
    private Long version;
}
